import { defineComponent } from "vue";
import styles from "./page.module.less";
export default defineComponent({
  name: 'Page',
  emits: ['click'],
  setup(props: any, { slots, emit }) {
    const Page = () => (
      <div class={styles.page} id="Page" onClick={(e) => { emit('click', e) }}>
        {
          slots.default && slots.default()
        }
      </div>
    )
    return () => (
      <Page />
    )
  },
})